ask "Install HyperScrap into what stack?" with "Home"
if it is empty then exit mouseUp
put it into whatStack
go to stack it
get the script of stack it
put it into otherStackScript
put otherStackScript & stackScript into newStackScript
set the script of stack whatStack to newStackScript
answer "Installed!" with "OK"
pop card
end mouseUp
-- part 2 (button)
-- low flags: 80
-- high flags: A003
-- rect: left=351 top=68 right=95 bottom=445
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Help!
----- HyperTalk script -----
on mouseUp
show card field "Help"
hide me
show card button "Hide Help"
end mouseUp
-- part 4 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=358 top=99 right=126 bottom=440
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Home
----- HyperTalk script -----
on mouseUp
go home
end mouseUp
-- part 5 (field)
-- low flags: 01
-- high flags: 0007
-- rect: left=15 top=59 right=315 bottom=309
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 0
-- font id: 3
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Help
----- HyperTalk script -----
on mouseUp
hide me
hide card button "Hide Help"
show card button "Help!"
end mouseUp
-- part 7 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=351 top=68 right=95 bottom=445
-- title width / last selected line: 0
-- icon id / first selected line: 0 / 0
-- text alignment: 1
-- font id: 0
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Hide Help
----- HyperTalk script -----
on mouseUp
hide card field "Help"
hide me
show card button "Help!"
end mouseUp
-- part 46 (button)
-- low flags: 00
-- high flags: A003
-- rect: left=360 top=133 right=183 bottom=443
-- title width / last selected line: 0
-- icon id / first selected line: 2478 / 2478
-- text alignment: 1
-- font id: 14
-- text size: 12
-- style flags: 0
-- line height: 16
-- part name: Info
----- HyperTalk script -----
on mouseUp
go to card "Info"
end mouseUp
-- part contents for card part 5
----- text -----
HyperScrap is essentially a clipboard with storing space, or like a ScrapBook for HyperCard objects/graphics/text.
HyperScrap has cards that hold buttons, fields, graphics, and text.
Most of HyperScap's features are used from other stacks, when you want to copy a couple of objects or graphics without making trips back and forth between stacks.
To use HyperScrap, you have to install it into the Home Stack, or if you don't usually boot up to the Home Stack, you can install it into other stacks.
Installation puts HyperScrap's scripts into the script of the other stack.
To get a short listing of HyperScrap's features, hold down the Option key while selecing "Help" from the "Go" menu. This can also be used from other stacks.
The commands for HyperScrap go as follows:
When in browse mode: pressing the OPTION key while over a button copies that button to HyperScrap, pressing COMMAND and OPTION over a field copies that field. When doing this, you have to hold down the key(s) until you see the watch cursor or it won't work. This makes it so you can use command-key menu items while over an object. Note that that message is send on mouseWithin, not on mouseUp, so you don't click the mouse while pressing the key(s).
To select text, copy whatever text you want to have copied to HyperScrap, then choose the browse tool and press option-t. (†).
To paste things:
Hold down the option key while pulling down any menu item with "Paste" in it's name.
That will bring up a dialog that asks you what you want to paste. Just type the first letter of what you want to paste, and then press return or click OK. The menu item that you picked will be automatically inserted in the dialog for you. If you want to paste that item, just press return. If not, just type another letter an it will automatically delete what letter is already there.
That will take you to the card where your object is located. From there, click on the item that you want to paste.
In the case of text, the text will be copied to the clipboard when you click on the field it is in. Paste the copied text in the normal Macintosh way.
Note on pasting: if you are just in the HyperScrap stack, and go through the cards, clicking on an object you want will not automatically paste it. That works only when you execute the command to paste that object. This is done so that the object can be edited from the HyperScrap stack.
Also: if you are copying buttons or fields (command key, or command and option key), if you do these commands while not over a button or field, it will give you a message like "Cannot find menu item 'Copy Button'". This is because HyperScrap is trying to copy the button/field when there is no button/field to copy. Just click "Cancel"...
If you have any suggestions, or you want an upgrade to the latest version, write to me at:
Brian Wilson
103 Northrop Place
Santa Cruz, CA 95060
-- part contents for card part 23
----- text -----
Blank Graphic Cool Backround SprayCan arc Globe Icons Plus Line 2 Line